//
//  MacrosDefine.h
//  HiQ
//
//  Created by 庞孟羽 on 12-7-31.
//
//

#ifndef HiQ_MacrosDefine_h
#define HiQ_MacrosDefine_h


/*
 LOG MODEL
 */
#define CMD_FUN_LOG   0
#define CMD_LOG_LOGIN 0
#define CMD_LOG_RET_YES   1
#define CMD_LOG_RET_NO    2
#define CMD_LOG_REPEAT_LOGIN 3
#define CMD_LOG_CHANGE_LOGIN 4

/*
 REGISTER MODEL
 */
#define CMD_FUN_REGISTER 1
#define CMD_REG_REQUEST  0
#define CMD_REG_RET_YES  1
#define CMD_REG_RET_NO   2


/*
 CHAT MODEL-- POINT TO POINT
 */
#define CMD_FUN_CHAT  2

/*
 GROUP MODEL --CREATE AND GETINFO
 */
#define CMD_FUN_GROUP 3
#define CMD_GROUP_CREATE_REQUEST 0
#define CMD_GROUP_CREATE_YES     1
#define CMD_GROUP_CREATE_NO      2

#define CMD_GROUP_LIST_REQUEST   3
#define CMD_GROUP_LIST_REPLY     4

#define CMD_GROUP_MEMBERLIST_REQUEST 5
#define CMD_GROUP_MEMBERLIST_REPLY   6

#define CMD_GROUP_EXIT_REQUEST  7
#define CMD_GROUP_EXIT_REPLY    8

/* 
 GROUPCHAT  -- GROUP　CHAT
 */
#define CMD_FUN_GROUPCHAT        8
#define CMD_GROUPCHAT_SEND       0
#define CMD_GROUPCHAT_RECEIVE    1

/*
 SYSTEM MODEL --PARAMS
 */
#define CMD_FUN_SYSTEM 4

/*
 好友列表
 */
#define CMD_FUN_BUDDYLIST 5

/*
 上、下线提醒
 */
#define CMD_FUN_STATUSNOTIFY 6

/*
 用户监听端口
 */
#define CMD_FUN_LISTENPORT 7

/*
 心跳
 */
#define CMD_FUN_HEART_BEAT 9

/*
 添加好友
 */
#define CMD_FUN_ADD_NEW_FRIEND 10


#endif
